<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');
	class Manage_channel extends CI_Controller{
		var      $mark;	
		public function __construct(){
			parent::__construct();
			$this->load->library('session');
			$this->load->library('form_validation');
			$this->load->library('cismarty');
			$this->load->model("apanel/template");
			$mark  = 3;
		}
		
		public function index(){
			//== template
			redirect('manage_channel/channellist');
		}
		
		public function channellist(){
			//== template
			$mark  = 3;
			$this->cismarty->assign("header",$this->template->header());
			$this->cismarty->assign("menu",$this->template->menu($mark));
			$this->cismarty->assign("footer",$this->template->footer());
			$this->cismarty->assign("url",base_url());
			$this->cismarty->display('apanel/channel/channel-list.html');
		}
		
		public function add(){
			
			//== template
			$mark  = 3;
			$this->cismarty->assign("header",$this->template->header());
			$this->cismarty->assign("menu",$this->template->menu($mark));
			$this->cismarty->assign("footer",$this->template->footer());
			$this->cismarty->assign("url",base_url());
		}
		
		public function edit($id){
			//== template
			$mark  = 3;
			$this->cismarty->assign("header",$this->template->header());
			$this->cismarty->assign("menu",$this->template->menu($mark));
			$this->cismarty->assign("footer",$this->template->footer());
			$this->cismarty->assign("url",base_url());
		}
		
		public function del($id){
		
		}
	}
?>